package com.xiguaji.tiktok.v1.ins.comment.model;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * 评论
 * @author Huangxin
 */
@Table(value = "ins_comment")
@Data
public class InsComment implements Serializable {
    /**
     * id
     */
    @Id
    private Long id;

    /**
     * 评论人的uid
     */
    @Column(value = "c_uid")
    private Long cUid;

    /**
     * 帖子所有者的uid
     */
    @Column(value = "m_uid")
    private Long mUid;

    /**
     * 帖子编码
     */
    private String shortcode;

    /**
     * 内容
     */
    private String text;

    /**
     * 评论创建时间
     */
    @Column(value = "created_at")
    private Long createdAt;

    /**
     * 活跃天
     */
    @Column(value = "week_day")
    private Integer weekDay;

    /**
     * 活跃小时
     */
    @Column(value = "day_hours")
    private Integer dayHours;
}